package com.person.jc.interceptor;

import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;
import com.person.jc.utils.SessionKit;

public class SessionInterceptor implements Interceptor {
	
	  public void intercept(Invocation inv) {
	      SessionKit.put(inv.getController().getSession(true));
	      inv.invoke();
	  }
}
